package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 会员设置表
 * </p>
 *
 * @author chenxuebin
 * @since 2020-08-29
 */
@TableName("t_member")
public class Member extends Model<Member> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 会员级别
     */
	private Integer hylevel;
    /**
     * 一级名称
     */
	private String hyname;
    /**
     * 一级会费
     */
	private BigDecimal huifei;
    /**
     * 一级折扣
     */
	private BigDecimal zhekou;
	private BigDecimal ticheng;

	private String remark;
    /**
     * 会员卡图
     */
	private String pic;
	private Long mid;
	private Long mpid;
	private Long uid;
	private Long sid;
	private Date createtime;
	private Integer state;
	private Date modifytime;
	private Long modifier;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getHylevel() {
		return hylevel;
	}

	public void setHylevel(Integer hylevel) {
		this.hylevel = hylevel;
	}

	public String getHyname() {
		return hyname;
	}

	public void setHyname(String hyname) {
		this.hyname = hyname;
	}

	public BigDecimal getHuifei() {
		return huifei;
	}

	public void setHuifei(BigDecimal huifei) {
		this.huifei = huifei;
	}

	public BigDecimal getZhekou() {
		return zhekou;
	}

	public void setZhekou(BigDecimal zhekou) {
		this.zhekou = zhekou;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public BigDecimal getTicheng() {
		return ticheng;
	}

	public void setTicheng(BigDecimal ticheng) {
		this.ticheng = ticheng;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Member{" +
			"id=" + id +
			", hylevel=" + hylevel +
			", hyname=" + hyname +
			", huifei=" + huifei +
			", zhekou=" + zhekou +
			", pic=" + pic +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", sid=" + sid +
			", createtime=" + createtime +
			", state=" + state +
			", modifytime=" + modifytime +
			", modifier=" + modifier +
			"}";
	}
}
